Integrand size = 21, antiderivative size = 536 \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=-\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {25}{32} i a^2 d^2 \text {Chi}\left (\frac {5 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {5}{16} i a^2 d^2 \text {Chi}\left (\frac {d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (2 c-i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {45}{32} i a^2 d^2 \text {Chi}\left (\frac {3 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (6 c+i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}+\frac {5}{16} i a^2 d^2 \cosh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {d x}{2}\right )+\frac {45}{32} i a^2 d^2 \cosh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {3 d x}{2}\right )-\frac {25}{32} i a^2 d^2 \cosh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {5 d x}{2}\right ) \]
[Out]
Time = 0.46 (sec) , antiderivative size = 536, normalized size of antiderivative = 1.00, number of steps used = 21, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {3400, 3395, 3393, 3384, 3379, 3382} \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=-\frac {25}{32} i a^2 d^2 \sinh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \text {Chi}\left (\frac {5 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {5}{16} i a^2 d^2 \sinh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {Chi}\left (\frac {d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {45}{32} i a^2 d^2 \sinh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {Chi}\left (\frac {3 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {5}{16} i a^2 d^2 \cosh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {Shi}\left (\frac {d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {45}{32} i a^2 d^2 \cosh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {Shi}\left (\frac {3 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}-\frac {25}{32} i a^2 d^2 \cosh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \text {Shi}\left (\frac {5 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}-\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {5 a^2 d \sinh \left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \cosh ^3\left (\frac {c}{2}+\frac {d x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}}{x} \]
[In]
[Out]
Rule 3379
Rule 3382
Rule 3384
Rule 3393
Rule 3395
Rule 3400
Rubi steps \begin{align*} \text {integral}& = \left (4 a^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh ^5\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right )}{x^3} \, dx \\ & = -\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}+\left (10 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh ^3\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right )}{x} \, dx+\frac {1}{2} \left (25 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh ^5\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right )}{x} \, dx \\ & = -\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}+\left (10 i a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \left (\frac {3 i \sinh \left (\frac {1}{4} (2 c-i \pi )+\frac {d x}{2}\right )}{4 x}+\frac {i \sinh \left (\frac {1}{4} (6 c+i \pi )+\frac {3 d x}{2}\right )}{4 x}\right ) \, dx-\frac {1}{2} \left (25 i a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \left (\frac {5 i \sinh \left (\frac {1}{4} (2 c-i \pi )+\frac {d x}{2}\right )}{8 x}+\frac {5 i \sinh \left (\frac {1}{4} (6 c+i \pi )+\frac {3 d x}{2}\right )}{16 x}-\frac {i \sinh \left (\frac {1}{4} (10 c-i \pi )+\frac {5 d x}{2}\right )}{16 x}\right ) \, dx \\ & = -\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}-\frac {1}{32} \left (25 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {1}{4} (10 c-i \pi )+\frac {5 d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (5 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {1}{4} (6 c+i \pi )+\frac {3 d x}{2}\right )}{x} \, dx+\frac {1}{32} \left (125 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {1}{4} (6 c+i \pi )+\frac {3 d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (15 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {1}{4} (2 c-i \pi )+\frac {d x}{2}\right )}{x} \, dx+\frac {1}{16} \left (125 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {1}{4} (2 c-i \pi )+\frac {d x}{2}\right )}{x} \, dx \\ & = -\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}-\frac {1}{32} \left (25 a^2 d^2 \cosh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {5 d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (15 a^2 d^2 \cosh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {d x}{2}\right )}{x} \, dx+\frac {1}{16} \left (125 a^2 d^2 \cosh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (5 a^2 d^2 \cosh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {3 d x}{2}\right )}{x} \, dx+\frac {1}{32} \left (125 a^2 d^2 \cosh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\sinh \left (\frac {3 d x}{2}\right )}{x} \, dx-\frac {1}{32} \left (25 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\cosh \left (\frac {5 d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (15 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (2 c-i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\cosh \left (\frac {d x}{2}\right )}{x} \, dx+\frac {1}{16} \left (125 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (2 c-i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\cosh \left (\frac {d x}{2}\right )}{x} \, dx-\frac {1}{2} \left (5 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (6 c+i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\cosh \left (\frac {3 d x}{2}\right )}{x} \, dx+\frac {1}{32} \left (125 a^2 d^2 \text {csch}\left (\frac {c}{2}-\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (6 c+i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}\right ) \int \frac {\cosh \left (\frac {3 d x}{2}\right )}{x} \, dx \\ & = -\frac {2 a^2 \cosh ^4\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x^2}-\frac {25}{32} i a^2 d^2 \text {Chi}\left (\frac {5 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {5}{16} i a^2 d^2 \text {Chi}\left (\frac {d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (2 c-i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}+\frac {45}{32} i a^2 d^2 \text {Chi}\left (\frac {3 d x}{2}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {1}{4} (6 c+i \pi )\right ) \sqrt {a+i a \sinh (c+d x)}-\frac {5 a^2 d \cosh ^3\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sinh \left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)}}{x}+\frac {5}{16} i a^2 d^2 \cosh \left (\frac {1}{4} (2 c-i \pi )\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {d x}{2}\right )+\frac {45}{32} i a^2 d^2 \cosh \left (\frac {1}{4} (6 c+i \pi )\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {3 d x}{2}\right )-\frac {25}{32} i a^2 d^2 \cosh \left (\frac {5 c}{2}-\frac {i \pi }{4}\right ) \text {sech}\left (\frac {c}{2}+\frac {i \pi }{4}+\frac {d x}{2}\right ) \sqrt {a+i a \sinh (c+d x)} \text {Shi}\left (\frac {5 d x}{2}\right ) \\ \end{align*}
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(4751\) vs. \(2(536)=1072\).
Time = 10.66 (sec) , antiderivative size = 4751, normalized size of antiderivative = 8.86 \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\text {Result too large to show} \]
[In]
[Out]
\[\int \frac {\left (a +i a \sinh \left (d x +c \right )\right )^{\frac {5}{2}}}{x^{3}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\int { \frac {{\left (i \, a \sinh \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\int { \frac {{\left (i \, a \sinh \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{x^{3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(a+i a \sinh (c+d x))^{5/2}}{x^3} \, dx=\int \frac {{\left (a+a\,\mathrm {sinh}\left (c+d\,x\right )\,1{}\mathrm {i}\right )}^{5/2}}{x^3} \,d x \]
[In]
[Out]